package FactoryPattern;

import Model.Book;
import Model.Novel;

import java.util.Date;


public class NovelFactory implements BookFactory {
    @Override
    public Book createBook(String title, String author, String isbn, String genre, int pageCount, double price, Date publicationDate, double baseFine) {
        return new Novel(title, author, isbn, genre, pageCount, price, publicationDate,baseFine);
    }

}
